|
![](/i/fill.gif) |
Currently they look like this:
#define OBJECT_FIELDS \
METHODS *Methods; \
int Type; \
OBJECT *Sibling; \
TEXTURE *Texture; \
TEXTURE *Interior_Texture; \
INTERIOR *Interior; \
OBJECT *Bound; \
OBJECT *Clip; \
LIGHT_SOURCE *LLights; \
BBOX BBox; \
TRANSFORM *Trans; \
TRANSFORM *UV_Trans; \
SNGL Ph_Density; \
unsigned long Flags;
#define INIT_OBJECT_FIELDS(o,t,m) \
o->Type = t; \
o->Methods = m; \
o->Sibling = NULL; \
o->Texture = NULL; \
o->Interior_Texture = NULL; \
o->Interior = NULL; \
o->Bound = NULL; \
o->Clip = NULL; \
o->LLights = NULL; \
o->Trans = NULL; \
o->UV_Trans = NULL; \
o->Ph_Density = 0; \
o->Flags = 0; \
Make_BBox(o->BBox, -BOUND_HUGE/2.0, -BOUND_HUGE/2.0, -BOUND_HUGE/2.0, \
BOUND_HUGE, BOUND_HUGE, BOUND_HUGE);
"Vadim Sytnikov" <syt### [at] ru com> wrote...
> Can someone who has access to POV's source code tell me what are OBJECT
> (Object_Struct, if more exactly; from frame.h) structure fields in POV-Ray
> 3.5?
>
> Asking not just out of curiosity, that's important for me...
>
> Thank you in advance,
> Vadim.
>
>
>
Post a reply to this message
|
![](/i/fill.gif) |